/*
This file is part of Cafca.

Cafca is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Cafca is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Cafca.  If not, see <http://www.gnu.org/licenses/>.

If you have any comment, suggestion or idea, do not hesitate to contact me at shenrotin@gmail.com
*/

package org.crag.cafca.util;

public class Constants 
{
	/* INIT - see web.xml */
	public static final String INIT_LOG4J_INIT_FILE = "log4jFile";
	public static final String INIT_DB_HOST = "dbHost";
	public static final String INIT_DB_PORT = "dbPort";
	public static final String INIT_DATABASE = "database";
	public static final String INIT_DB_USER = "dbUser";
	public static final String INIT_DB_PASSWORD = "dbPassword";		
	public static final String INIT_MENU_FILE = "menuFile";

	public static final String PATH_SEPARATOR = "/";
	/* XML */
	public static final String XML_ID = "id";
	public static final String XML_NAME = "name";
	public static final String XML_URL = "url";
	
	/* HTTP */
	public static final String HTTP_NODE = "node";
	public static final String HTTP_HASH = "hash";
	public static final String HTTP_MODE = "mode";
	public static final String HTTP_START_DATE= "startDate";
	public static final String HTTP_START_TIME = "startTime";
	public static final String HTTP_END_DATE= "endDate";
	public static final String HTTP_END_TIME = "endTime";
	public static final String HTTP_NB_VALUES = "nbValues";
	public static final String HTTP_TAG_ID = "tagId";
	public static final String HTTP_QUERY = "query";
	public static final String HTTP_START = "start";
	public static final String HTTP_LIMIT = "limit";
	public static final String HTTP_LOG_FILE = "logFile";
	public static final String HTTP_ERROR = "error";

	/* JSON */
	public static final String JSON_RESULT = "result";
	public static final String JSON_SUCCESS = "success";
	public static final String JSON_ID = "id";
	public static final String JSON_NAME = "name";
	public static final String JSON_URL = "url";
	public static final String JSON_TEXT = "text";
	public static final String JSON_VALUE = "value";
	public static final String JSON_DATETIME = "datetime";
	public static final String JSON_SUBMENU = "subMenu";
	public static final String JSON_LEAF = "leaf";

	public static final String JSON_MESSAGE_NUMBER= "messageNumber";
	public static final String JSON_MESSAGE= "message";
	public static final String JSON_LOG_FILE_NAME = "logFileName";
	public static final String JSON_LOG_FILE_ID = "logFileId";
	
	public static String projectPath;	
}
